package day14;

import java.util.concurrent.ArrayBlockingQueue;

public class DemoFoodTest1 {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> ab = new ArrayBlockingQueue<>(1);
        Foodie1 f = new Foodie1(ab);
        Cooker1 c = new Cooker1(ab);
        f.start();
        c.start();
    }
}
